/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package homework01.by_gong;

/**
 *
 * 
 */
public class CookBook {
 /**
     * @2010405121 龚柳彬
     */
    private int no;
    private String name;
    private double price;

    public CookBook(int no, String name, double price) {
        this.no = no;
        this.name = name;
        this.price = price;
    }

    public static void main(String[] args) {
        CookBook pbook = new CookBook(5555, "java", 99.56);
        System.out.println("编号:" + pbook.no);
        System.out.println("食谱名:" + pbook.name);
        System.out.println("价格:" + pbook.price);
    }
}
